/*
 * @Date: 2024-12-18 14:57:51
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-12-18 14:57:53
 * @Description: 全局的Element Plus Icon的引入
 */
import {
	Search,
	Collection,
	Key,
	SuccessFilled,
	InfoFilled,
	UploadFilled,
	View,
	Edit,
	CopyDocument,
	MoreFilled,
	Download,
	Delete,
	CaretRight,
	MessageBox,
	ZoomIn,
	RefreshLeft,
	RefreshRight,
	ZoomOut,
	Setting,
} from '@element-plus/icons-vue';

const ElementPlusIconsVue = {
	Collection,
	Key,
	SuccessFilled,
	InfoFilled,
	UploadFilled,
	View,
	Edit,
	MoreFilled,
	CopyDocument,
	Download,
	Delete,
	Search,
	CaretRight,
	MessageBox,
	ZoomIn,
	RefreshLeft,
	RefreshRight,
	ZoomOut,
	Setting,
};
export default {
	install: (app) => {
		for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
			app.component(key, component);
		}
	},
};
